﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admincenter/AdminPage.master" AutoEventWireup="true" CodeFile="AddQuote.aspx.cs" Inherits="admincenter_AddQuote" %>
<%@ Import Namespace="AppCommon" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <title>Add Quote | <%= Constants.S_TITLE_ADMIN %></title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="row">
        <div class="col-lg-12">
            <h1>Add a new quote</h1>
            <ol class="breadcrumb">
                <li><i class="fa fa-dashboard"></i>  Bảng điều khiển</li>
                <li class="active"><i class="fa fa-table"></i>  Add a new quote</li>
            </ol>
        </div>
        <div class="col-lg-9">
            <div class="form-group">
                <label>Nội dung / Content</label>
                <p>
                    <asp:TextBox CssClass="form-control" runat="server" ID="tbContent" placeholder="Nội dung"
                        MaxLength="100" TextMode="MultiLine" Rows="3"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" SetFocusOnError="True"
                        ControlToValidate="tbContent" Display="Dynamic" ErrorMessage="(*) Chưa nhập dữ liệu"
                        ValidationGroup="groupAddUpdatePT"></asp:RequiredFieldValidator>
                </p>
                <label>Tác giả / Author</label>
                <p>
                    <asp:TextBox CssClass="form-control" runat="server" ID="tbAuthor" placeholder="Tác giả"
                        MaxLength="100" TextMode="SingleLine"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" SetFocusOnError="True"
                        ControlToValidate="tbAuthor" Display="Dynamic" ErrorMessage="(*) Chưa nhập dữ liệu"
                        ValidationGroup="groupAddUpdatePT"></asp:RequiredFieldValidator>
                </p>
                <label>Sử dụng</label>
                <p>
                    <asp:CheckBox CssClass="form-control" runat="server" ID="cbTrangThai" ToolTip="Trạng thái sử dụng" />
                </p>
                <p><button type="reset" class="btn btn-default">Xóa</button>
                    <asp:Button runat="server" CssClass="btn btn-primary" ID="btnThemvao" Text="Thêm vào"
                                        OnClick="btnThemvao_OnClick"/></p>
            </div>
        </div>
        <div class="col-lg-3">
            <asp:Literal runat="server" ID="litResult" EnableViewState="False"></asp:Literal>
        </div>
    </div>
</asp:Content>

